<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<title>运单查询</title>
	<%@ include file="layouts/top.jsp"%>
	
	<script type="text/javascript" charset="UTF-8" src="${ctx}/js/easyui/datagrid-detailview.js"/></script>
	<script type="text/javascript" charset="UTF-8" src="${ctx}/js/orders/Init.js"/></script>
	<script type="text/javascript" charset="UTF-8" src="${ctx}/js/orders/Event.js"/></script>
	<script type="text/javascript" charset="UTF-8" src="${ctx}/js/orders/Cmd.js"/></script>
</head>
<body>
	<div id="toolbar" class="search_bar" style="height:auto">
		<table style="width:100%">
			<tbody>
				<tr class="line_0">
					<td class="search_title">运单号:</td>
					<td class="search_content">
						<input id="orderId_query" style="width:150px;" />
					</td>
					<td class="search_title">收件人:</td>
					<td class="search_content">
						<input id="receiver_query" style="width:150px;" />
					</td>
					<td class="search_title">状态:</td>
					<td class="search_content">
						<select id="status_query" class="easyui-combobox" style="width:150px;"></select>
					</td>
				</tr>
			</tbody>
		</table>
		<a href="#" class="easyui-linkbutton" iconCls="icon-search" onclick="query()">查询</a>
	</div>
	<table id="dg" title="查询列表" class="easyui-datagrid" toolbar="#toolbar"
		rownumbers="true" fitColumns="true" singleSelect="true" pagination="true">
		<thead>
			<tr>
				<th field="orderId" width="30">运单ID</th>
				<th field="product" formatter="formatProduct" width="30">货品</th>
				<th field="address" formatter="formatAddress" width="30">地址</th>
				<th field="receiver" formatter="formatReceiver" width="30">收件人</th>
				<th field="status" width="30">状态</th>
				<th field="date" formatter="formatDate" width="30">生成时间<br>完成时间</th>
			</tr>
		</thead>
	</table>
</body>
</html>